package com.hundun.hddeal.service;

import com.github.pagehelper.PageInfo;
import com.hundun.hddeal.entity.TaskOrder;
import com.hundun.hddeal.response.Result;

import java.util.Date;


public interface TaskOrderService {

    Result deleteByPrimaryKey(Long id);

    Result insertSelective(TaskOrder record);

    Result<TaskOrder> selectByPrimaryKey(Long id);

    Result updateByPrimaryKeySelective(TaskOrder record);

    Result<PageInfo<TaskOrder>> selectAll(Integer page, Integer size, String adType, String type, String tfPlace, Date time);

    Result<PageInfo<TaskOrder>> selectByAdIdAndStatus(String adId,String adName,Integer status,Integer page, Integer size, String type);

    Result updateOutMoney(String order,Double outMoney);

    Result<TaskOrder> getOne(String order,String mtId,String ghId,Long Id,String type);

    Result updateStatus(String order,int status);
}
